package cn.iocoder.yudao.module.trade.controller.admin.ordersafetycheckterm.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 安检项分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class OrderSafetyCheckTermPageReqVO extends PageParam {

    @Schema(description = "安检服务模版明细id", example = "28099")
    private Long itemId;

    @Schema(description = "结果类型(0.单选，1.多选，2.文本，3.说明，4签字，5.照片，6.视频)", example = "1")
    private Integer type;

    @Schema(description = "选项")
    private String options;

    @Schema(description = "默认选中(0.未选中,1.选中)")
    private Integer selected;

    @Schema(description = "拍照取证(0.未选中,1.选中)")
    private Integer obtainEvidence;

    @Schema(description = "隐患(1.一般隐患，2.严重隐患)")
    private Integer pitfall;

    @Schema(description = "是否整改（0.否，1.是）")
    private Integer isRectify;

    @Schema(description = "默认内容")
    private String defaultContent;

    @Schema(description = "公共字段：内容、整改意见、说明、签字、图片、视频")
    private String content;

    @Schema(description = "照片数量")
    private Integer photoNum;
    private Integer idIndex;
    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}